from django import forms
from django.conf import settings
from django.utils.translation import ugettext_lazy as _

INVITE_BODY_SIZE = getattr(settings, 'INVITE_BODY_SIZE', {'cols': '100', 'rows': '20'})

class EmbedInviteForm(forms.Form):
    
    recipient_email = forms.EmailField(_("Recipient email"))
    recipient_name = forms.CharField(_("Recipient name"))

class InviteForm(EmbedInviteForm):
    
    mail_body = forms.CharField(_("Mail body"), widget=forms.Textarea(INVITE_BODY_SIZE))
    